package ca.cbc.panacea.elixir.persistence;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.enterprise.event.Observes;
import javax.enterprise.inject.spi.AfterBeanDiscovery;
import javax.enterprise.inject.spi.BeforeBeanDiscovery;
import javax.enterprise.inject.spi.Extension;
import javax.enterprise.inject.spi.ProcessAnnotatedType;
import java.util.Iterator;

class MyExtension implements Extension {
    private static Logger logger = LoggerFactory.getLogger(MyExtension.class);
    void beforeBeanDiscovery(@Observes BeforeBeanDiscovery bbd) {
//    logger.debug("beginning the scanning process");
}
    <T> void processAnnotatedType(@Observes ProcessAnnotatedType<T> pat) {
//    logger.debug("scanning type: " + pat.getAnnotatedType().getJavaClass().getName());

}
    void afterBeanDiscovery(@Observes AfterBeanDiscovery abd) {
//        logger.debug("finished the scanning process");

    }
}